package com.atguigu.spring.aop.xml;


public class AritthmeticCalculatorImpl implements AritthmeticCalculator {

	@Override
	public int add(int i, int j) {
		int result = i + j;
		System.out.println("method add result: " + result);
		return result;
	}

	@Override
	public int sub(int i, int j) {
		int result = i - j;
		System.out.println("method sub result: " + result);
		return result;
	}

	@Override
	public int mul(int i, int j) {
		int result = i * j;
		System.out.println("method mul result: " + result);
		return result;
	}

	@Override
	public int div(int i, int j) {
		int result = i / j;
		System.out.println("method div result: " + result);
		return result;
	}

}
